import http from '@/utils/http'
const zlStudyService = {
  //获取学习中心首页信息
  getPrivateIndex(params) {
    return http.get('/ban/private_edu/center/index', params)
  },
  //获取私教学习中心首页入学报到信息
  getPrivateInformation(params) {
    return http.get('/ban/private_edu/register/information_fill', params)
  },
  // 提交入学信息
  submitPrivateInformation(params) {
    return http.post('/ban/private_edu/register/information_fill', params)
  },
  // 获取班主任信息
  getTeacherInfo(params) {
    return http.get('/ban/private_edu/common/teacher_msg', params)
  },
  //获取今日学习任务
  getPrivateTodayTask(params) {
    return http.get('/ban/private_edu/center/learn_today', params)
  },
  //检测用户某天所有科目下含有任务情况
  checkSubjectTask(params) {
    return http.get('/ban/private_edu/common/check_subject_task', params)
  },
  // 获取学习大纲目录统计
  getStudyOutlineStatistics(params) {
    return http.post(
      '/ban/private_edu/study_plan/study_outline_statistics',
      params
    )
  },
  // 获取我的学习计划列表
  getMyPrivatePlanList(params) {
    return http.post('/ban/private_edu/study_plan/my_plans', params)
  },
  // 获取学习大纲目录列表
  getStudyOutlineCatalogs(params) {
    return http.post(
      '/ban/private_edu/study_plan/study_outline_catalogs',
      params
    )
  },
  // 获取任务列表
  getStudentTasks(params) {
    return http.post('/ban/private_edu/study_plan/student_tasks', params)
  },
  // 获取任务列表包含祖先目录
  getStudentTasksWithCatalog(params) {
    return http.post(
      '/ban/private_edu/study_plan/student_tasks_with_catalog',
      params
    )
  },
  //获取计划日程
  getPlanSchedules(params) {
    return http.post('/ban/private_edu/study_plan/plan_schedules', params)
  },
  // 获取作业问题列表
  getHomeWorkList(params) {
    return http.post('/ban/private_edu/homework/questions', params)
  },
  // 作业提交
  submitHomework(params) {
    return http.post('/ban/private_edu/homework/submit_homework', params)
  }
}
export default zlStudyService